﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Physio10Context;

namespace Physio_Clinic
{
    public partial class MedicalReport : System.Web.UI.Page
    {
        public Qf8soUser currentUser = null;

        protected void Page_Load(object sender, EventArgs e)
        {
            Booking booking = (Booking)(Session["Booking"]);

            if (Session["currentUser"] != null)
            {
                currentUser = (Qf8soUser)Session["currentUser"];
            }


            if (booking != null)
            {
                Username.Text = booking.UserName;
                AppointmentTime.Text = booking.AppointmentTime.ToString();
                EndappointmentTime.Text = booking.EndappointmentTime.ToString();
                //DoctorID.Text = booking.DoctorId.ToString();
                UserId.Text = booking.UserName.ToString();
                BookId.Text = booking.BookId.ToString();
            }
        }
    }
}